<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>上下页模块</title>
    <style>
        .box {
            /* 重点 让行内块元素整体居中显示做法 */
            /* ！直接给父元素写居中属性 里面的孩子属性就会整体水平居中了 */
            text-align: center;
            margin-top: 100px;
            font-size: 13px;

        }

        .box a {
            display: inline-block;
            width: 30px;
            height: 30px;
            border: 1px solid #333;
            font-size: 14px;
            color: #333;
            text-align: center;
            line-height: 30px;
            text-decoration: none;

        }

        .box .pre,
        .box .next {
        
            width: 75px;
            height: 30px;
        }

        .box .unborder {
            background-color: #fff;
            border: 0px;

        }

        .box input {

            width: 45px;
            height: 30px;
            border: 1px solid #333;
            outline-style: none;
        }

        .box .certain {

            width: 45px;
            height: 30px;
            font-size: 14px;
            font-weight: 700;
        }

        .box .page {
            width: 85px;
            height: 30px;
            border: 0px;
        }
    </style>
</head>

<body>
    <div class="box">
        <a href="#" class="pre">&lt;&lt;上一页</a>
        <a href="#">2</a>
        <a href="#" class="unborder">3</a>
        <a href="#">4</a>
        <a href="#">5</a>
        <a href="#">6</a>
        <a href="#" class="unborder">…</a>
        <a href="#" class="next">&gt;&gt;下一页</a>
        <a href="#" class="page"> 共10页 到第</a>
        <input type="text">
        页
        <!-- <a href="#" class="page">页 </a> -->
        <a href="#" class="certain">确定</a>
    </div>
</body>

</html>